package com.ruoyi.service.mapper;

import com.ruoyi.service.domain.ServicePackagessupplies;

import java.util.List;

/**
 * 耗材包与耗材对照Mapper接口
 * 
 * @author ZDL
 * @date 2024-10-21
 */
public interface ServicePackagessuppliesMapper 
{
    /**
     * 查询耗材包与耗材对照
     * 
     * @param packagessuppliesId 耗材包与耗材对照主键
     * @return 耗材包与耗材对照
     */
    public ServicePackagessupplies selectServicePackagessuppliesByPackagessuppliesId(Long packagessuppliesId);
    public List<ServicePackagessupplies> selectServicePackagessuppliesByPackagesId(Long packagesId);

    /**
     * 查询耗材包与耗材对照列表
     * 
     * @param servicePackagessupplies 耗材包与耗材对照
     * @return 耗材包与耗材对照集合
     */
    public List<ServicePackagessupplies> selectServicePackagessuppliesList(ServicePackagessupplies servicePackagessupplies);

    /**
     * 新增耗材包与耗材对照
     * 
     * @param servicePackagessupplies 耗材包与耗材对照
     * @return 结果
     */
    public int insertServicePackagessupplies(ServicePackagessupplies servicePackagessupplies);

    /**
     * 修改耗材包与耗材对照
     * 
     * @param servicePackagessupplies 耗材包与耗材对照
     * @return 结果
     */
    public int updateServicePackagessupplies(ServicePackagessupplies servicePackagessupplies);

    /**
     * 删除耗材包与耗材对照
     * 
     * @param packagessuppliesId 耗材包与耗材对照主键
     * @return 结果
     */
    public int deleteServicePackagessuppliesByPackagessuppliesId(Long packagessuppliesId);
    public int deleteServicePackagessuppliesByPackageId(Long packagesId);

    /**
     * 批量删除耗材包与耗材对照
     * 
     * @param packagessuppliesIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteServicePackagessuppliesByPackagessuppliesIds(Long[] packagessuppliesIds);
}
